//==============================================================================
// Copyright 2009 Sidney Shek All Rights Reserved
//==============================================================================
// SYSTEM:        ITEC824-MajorProject-Server
// FILE NAME:	  Project.java
// DESCRIPTION:   
// AUTHOR:        sshek2
// CREATED:       17/04/2009
//
// REVISION HISTORY:
// $Author: $
// $Id:  $
//
//==============================================================================
//

package itec824.server.model;

import java.util.Collection;

/**
 * Contains information about a project entity. A project contains a number of
 * tasks
 *
 * @version $Revision: $
 * @author sshek2
 */
public class Project
{
    /**
     * @return Returns the projectId.
     */
    public long getProjectId()
    {
        return myProjectId;
    }
    /**
     * @param aProjectId The projectId to set.
     */
    public void setProjectId(long aProjectId)
    {
        myProjectId = aProjectId;
    }
    /**
     * @return Returns the projectName.
     */
    public String getProjectName()
    {
        return myProjectName;
    }
    /**
     * @param aProjectName The projectName to set.
     */
    public void setProjectName(String aProjectName)
    {
        myProjectName = aProjectName;
    }
    /**
     * @return Returns the projectDescription.
     */
    public String getProjectDescription()
    {
        return myProjectDescription;
    }
    /**
     * @param aProjectDescription The projectDescription to set.
     */
    public void setProjectDescription(String aProjectDescription)
    {
        myProjectDescription = aProjectDescription;
    }
    /**
     * @return Returns the tasks.
     */
    public Collection<Task> getTasks()
    {
        return myTasks;
    }
    /**
     * @param aTasks The tasks to set.
     */
    public void setTasks(Collection<Task> aTasks)
    {
        myTasks = aTasks;
    }

    private long myProjectId;
    private String myProjectName;
    private String myProjectDescription;
    
    private Collection<Task> myTasks;
}
